﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Adams.Public.Web.Business.Web.Donate
{
    public static class Payment
    {
        public static Adams.Public.DataTransfer.Web.Donate.Payment.PageLoad PageLoad()
        {
            var model = Api.GetData<Adams.Public.DataTransfer.Web.Donate.Payment.PageLoad>("Web/Donate/PaymentPageLoad");
            return model;
        }

        public static DataTransfer.FormOutput Save(Adams.Public.DataTransfer.Web.Donate.Payment.FormInput input)
        {
            var model = Api.GetData<DataTransfer.FormOutput>("Web/Donate/SavePayment", input);
            return model;
        }
    }
}
